In this scenario, the app will show how to raise a toast notification by calling local notification APIs.
Toast notifications interrupt your users with important, actionable events. Toast notifications can be sent by your app when it is running, scheduled for a later time, or be sent by your app's cloud service through the Windows Push Notification Service (WNS). Toast notifications are described by an XML schema that binds tile contents to system-defined templates. Toast should be actionable but ignorable. If a user misses a toast notification, the app should consider updating the tile or tile badge with information about the missed toast notification.
| Template | Description |
|---|---|
| A single string wrapped across three lines of text | |
| One string of bold text, and one string of regular text wrapped across two lines | |
| One string of bold text wrapped across two lines, and a string of regular text on the third line | |
| One string of bold text on the first line, and two strings of regular text on the second and third lines |
When you display a toast, its XML will appear here.